import { get, post } from '@/utils/request'
import axios from 'axios'
import { getToken } from '../utils/auth'

/**
 * 发起微信支付请求
 *
 * @returns 返回支付结果
 */
export const postWeiXinPayService = () => {
    return post('/pay-api/pay/pay/1')
}

export const getWeiXinPayResultService=(orderId)=>{
    return get(`/pay-api/pay/isPay?orderId=${orderId}`)
}

